<!DOCTYPE html>
<html>
<head>
<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
	$(document).ready(function() {
		//callback handler for form submit
		$("button").click(function(e) {
			console.log("Krishna PRanith");

			$.get( "http://localhost:8080/RoosterWeb/Authentication/validateURL", function( data ) {
				$( ".result" ).html( data );
				alert( "Load was performed."  + data.name);
				});
		})
		
		function run(data, status){
			alert(data);
		}
	});
</script>
<script src="js/otherFile.js"></script>

</head>
<body>
	<button>click me to validate URL</button>

<p id="result"> </p>
</body>
</html>
